/**
 * CalcFrame.java
 *
 * @author:  John Thomason
 *  Course:  CS223
 *  Assign:  1
 * Seminar:  4
 *    Date:  Jan 29, 2009
 */

//Assigned Package
package calc;

//Imported Packages
import javax.swing.*;
import java.awt.*;

/**
 * CalcFrame Class
 */
public class CalcFrame
extends JFrame
{
    //Constructor
    public CalcFrame(){
        setLayout(new BorderLayout(0,0));
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        add(new CalcDisplayPanel(),         BorderLayout.NORTH);
        add(new CalcNumberButtonPanel(),    BorderLayout.CENTER);
        add(new CalcArithmeticButtonPanel(),BorderLayout.EAST);
        pack();
        setLocationRelativeTo(null);
        setResizable(false);
        setVisible(true);
    }//CalcFrame Constructor

}//CalcFrame Class
